//
// Created by 36845 on 25-6-11.
//

#ifndef FLIGHT_H
#define FLIGHT_H

#include<string>
#include<iostream>
using namespace std;

enum class SeatType{ECONOMY,BUSINESS};

class Flight {
private:
string flightName;
string departure;
string destination;
string departTime;
int totalEconomy;
int leftEconomy;
int totalBusiness;
int leftBusiness;
double economyPrice;
double businessPrice;
public:
Flight(string num, string dep, string dest, string time, int te, int le, int tb, int lb, double ep, double bp);
viod updateSeat(SeatType seatType,int delta);
viod showFlightInfo() const;
viod showBriefInfo() const;
string getFlightNum() const;
string getDepartTure() const;
string getDestination() const;
string getDepartTime() const;
int getLeftEconomy() const;
int getLeftBusiness() const;
};

#endif //FLIGHT_H
